package KK.Data
{
	import KK.Input.Keyboard.ToolShortcutKey;
	import KK.net.ResourceManager;
	
	import flash.utils.ByteArray;

	public class ToolData
	{
		
		public static const GRID_WIDTH:int=3;
		public static const GRID_HEIGHT:int=9;
		
		public static const MaxGrid:int=GRID_HEIGHT*GRID_WIDTH;
		
		public static const GRID_WIDTH_PIXEL:int=128;
		public static const GRID_HEIGHT_PIXEL:int=64;
		
		
		
		
		
		static public const keyboard:ToolShortcutKey=ToolShortcutKey.Instance;
		static public const MapData:ByteArray=new ByteArray();
		
		static public const assets:ResourceManager=ResourceManager.Instance;
		
		
		/**
		 * 重置数据  
		 * 
		 */
		static public function resetMap():void{
			MapData.clear();
			MapData[GRID_HEIGHT*GRID_WIDTH-1]=0;
		}
	}
}